Release 10.1A: OpenEdge Development:
Progress Dynamics Advanced Development
Object names and types
This section describes properties that provide information about types and names.
ObjectType
This
CHARACTERproperty, available for all SmartObjects, returns the generic SmartObject class name for the object. For example: SmartWindow™, SmartDataObject, SmartDataViewer, SmartDataBrowser™, SmartDataField, and so on.ObjectName
The
ObjectNameproperty is the unique instance name of the object for that container, or it defaults to the actual procedure file without path and extension. In the case where an object is used more than once, this can have a numeric digit added to it to distinguish among different instances, or its instance name can be changed by the developer in assembling the container.PhysicalObjectName
This
CHARACTERproperty, available for all SmartObjects, returns the name of the procedure file executed to run the object, including the filename extension, but not including its relative pathname. For a static object, this is the name of the object procedure, such ascustviewer.w.For a dynamic object, it returns the name of the driver procedure that instantiates objects of that type. For example, it returnsrydynviewv.wfor dynamic viewers andrydyncontw.wfor dynamic windows, and so on.LogicalObjectName
This
CHARACTERproperty returns the logical name of the object, which is its name as represented in the Repository. For a dynamic object, this is the name the object was given when it was created, either by the Object Generator, or by a developer using the AppBuilder. This property can be blank for objects running without a repository.For example, it could be
custbrowsewinfor a dynamic window orcustomerfullbfor a dynamic SmartDataBrowser.ContainerType
This
Note: Remember that SmartDataViewers are considered containers because you can drop field-level objects, such as SmartDataFields, into them.CHARACTERproperty, available for all SmartObjects, indicates whether the object is a container or not, and if so, what kind of container it is. For noncontainer objects such as Browsers and SDOs, its value is blank. For viewers and SmartFrames™, it returnsFRAME. For SmartWindows, it returnsWINDOW. For non-visual container objects such as SBOs, it returnsVIRTUAL.QueryObject
This
LOGICALproperty, available for all SmartObjects, returnsTRUEif the object manages a query. In other words, it returnsTRUEfor SDOs and SBOs andFALSEfor all other standard objects.
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |